package SE2;

import java.util.LinkedList;

public class VehicleComponents
{
	LinkedList<Component> allComponents;
	
	VehicleComponents()
	{
		allComponents = new LinkedList<Component>();
	}
	
	public LinkedList<Component> getAllComponents()
	{
		return this.allComponents;
	}
	
	public void setComponent(Component c)
	{
		allComponents.add(c);
	}
}
